<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../../print.css" type="text/css" media="print">
<meta content="OpenSocialDataRequest,org.opensocial.client.events.OpenSocialDataRequest,addCompleteHandler,forFetchActivities,forFetchPeople,forFetchPerson,forFetchPersonAppData,forMakeRequest,forRemovePersonAppData,forRequestCreateActivity,forRequestPermission,forRequestSendMessage,forRequestShareApp,forUpdatePersonAppData,handleComplete" name="keywords">
<title>org.opensocial.client.events.OpenSocialDataRequest</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'OpenSocialDataRequest - OpenSocial Actionscript 3.0 Client Library Documentation';
				var baseRef = '../../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">OpenSocial AS3 Client Library</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../../all-classes.html')" href="../../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../all-classes.html')" href="../../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../index-list.html')" href="../../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../../index.html?org/opensocial/client/events/OpenSocialDataRequest.html&amp;org/opensocial/client/events/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;OpenSocialDataRequest</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class OpenSocialDataRequest"); titleBar_setSubNav(false,true,false,false,false,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">org.opensocial.client.events</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class OpenSocialDataRequest</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">OpenSocialDataRequest <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../../images/inherit-arrow.gif"> <a href="AsyncRequest.html">AsyncRequest</a> <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../../images/inherit-arrow.gif"> flash.events.EventDispatcher</td>
</tr>
</table>
<p></p>
 Event dispatcher for asynchronous OpenSocial and IO data requests.
  <p></p>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Properties</div>
<div class="showHideLinks">
<div class="hideInheritedProperty" id="hideInheritedProperty">
<a onclick="javascript:setInheritedVisible(false,'Property');" href="#propertySummary" class="showHideLink"><img src="../../../../images/expanded.gif" class="showHideLinkImage"> Hide Inherited Public Properties</a>
</div>
<div class="showInheritedProperty" id="showInheritedProperty">
<a onclick="javascript:setInheritedVisible(true,'Property');" href="#propertySummary" class="showHideLink"><img src="../../../../images/collapsed.gif" class="showHideLinkImage"> Show Inherited Public Properties</a>
</div>
</div>
<table id="summaryTableProperty" class="summaryTable hideInheritedProperty" cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="AsyncRequest.html#isRunning">isRunning</a> : Boolean<div class="summaryTableDescription">
   Indicates this request instance is waiting for response or not.</div>
</td><td class="summaryTableOwnerCol"><a href="AsyncRequest.html">AsyncRequest</a></td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="AsyncRequest.html#params">params</a> : Array<div class="summaryTableDescription">
   Returns the request parameters array.</div>
</td><td class="summaryTableOwnerCol"><a href="AsyncRequest.html">AsyncRequest</a></td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<div class="showHideLinks">
<div class="hideInheritedMethod" id="hideInheritedMethod">
<a onclick="javascript:setInheritedVisible(false,'Method');" href="#methodSummary" class="showHideLink"><img src="../../../../images/expanded.gif" class="showHideLinkImage"> Hide Inherited Public Methods</a>
</div>
<div class="showInheritedMethod" id="showInheritedMethod">
<a onclick="javascript:setInheritedVisible(true,'Method');" href="#methodSummary" class="showHideLink"><img src="../../../../images/collapsed.gif" class="showHideLinkImage"> Show Inherited Public Methods</a>
</div>
</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#OpenSocialDataRequest()">OpenSocialDataRequest</a>(featureName:String)</div>
<div class="summaryTableDescription">
   Constructor of this request event dispatcher.</div>
</td><td class="summaryTableOwnerCol">OpenSocialDataRequest</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#addCompleteHandler()">addCompleteHandler</a>(callback:Function):<a href="../events/AsyncRequest.html">AsyncRequest</a>
</div>
<div class="summaryTableDescription">
   The quick short-cut for adding a callback function for the request completion.</div>
</td><td class="summaryTableOwnerCol">OpenSocialDataRequest</td>
</tr>
<tr class="hideInheritedMethod">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="AsyncRequest.html#assertFeature()">assertFeature</a>(featureName:String):void</div>
<div class="summaryTableDescription">
   Checks the feature name.</div>
</td><td class="summaryTableOwnerCol"><a href="AsyncRequest.html">AsyncRequest</a></td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#forFetchActivities()">forFetchActivities</a>(idSpec:<a href="../base/IdSpec.html">IdSpec</a>, params:Object = null):<a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a>
</div>
<div class="summaryTableDescription">
   Helper function for setting the parameters of the <code>Feature.FETCH_PERSON</code> feature.</div>
</td><td class="summaryTableOwnerCol">OpenSocialDataRequest</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#forFetchPeople()">forFetchPeople</a>(idSpec:<a href="../base/IdSpec.html">IdSpec</a>, params:Object = null):<a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a>
</div>
<div class="summaryTableDescription">
   Helper function for setting the parameters of the <code>Feature.FETCH_PERSON</code> feature.</div>
</td><td class="summaryTableOwnerCol">OpenSocialDataRequest</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#forFetchPerson()">forFetchPerson</a>(id:String, params:Object = null):<a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a>
</div>
<div class="summaryTableDescription">
   Helper function for setting the parameters of the <code>Feature.FETCH_PERSON</code> feature.</div>
</td><td class="summaryTableOwnerCol">OpenSocialDataRequest</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#forFetchPersonAppData()">forFetchPersonAppData</a>(idSpec:<a href="../base/IdSpec.html">IdSpec</a>, keys:Array, params:Object = null):<a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a>
</div>
<div class="summaryTableDescription">
   Helper function for setting the parameters of the <code>Feature.FETCH_PERSON</code> feature.</div>
</td><td class="summaryTableOwnerCol">OpenSocialDataRequest</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#forMakeRequest()">forMakeRequest</a>(url:String, params:Object = null):<a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a>
</div>
<div class="summaryTableDescription">
   Helper function for setting the parameters of the <code>Feature.FETCH_PERSON</code> feature.</div>
</td><td class="summaryTableOwnerCol">OpenSocialDataRequest</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#forRemovePersonAppData()">forRemovePersonAppData</a>(id:String, keys:Array):<a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a>
</div>
<div class="summaryTableDescription">
   Helper function for setting the parameters of the <code>Feature.FETCH_PERSON</code> feature.</div>
</td><td class="summaryTableOwnerCol">OpenSocialDataRequest</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#forRequestCreateActivity()">forRequestCreateActivity</a>(activity:<a href="../base/Activity.html">Activity</a>, priority:String = null):<a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a>
</div>
<div class="summaryTableDescription">
   Helper function for setting the parameters of the <code>Feature.FETCH_PERSON</code> feature.</div>
</td><td class="summaryTableOwnerCol">OpenSocialDataRequest</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#forRequestPermission()">forRequestPermission</a>(permissions:Array, reasonText:String):<a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a>
</div>
<div class="summaryTableDescription">
   Helper function for setting the parameters of the <code>Feature.FETCH_PERSON</code> feature.</div>
</td><td class="summaryTableOwnerCol">OpenSocialDataRequest</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#forRequestSendMessage()">forRequestSendMessage</a>(recipients:Array, message:<a href="../base/Message.html">Message</a>):<a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a>
</div>
<div class="summaryTableDescription">
   Helper function for setting the parameters of the <code>Feature.FETCH_PERSON</code> feature.</div>
</td><td class="summaryTableOwnerCol">OpenSocialDataRequest</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#forRequestShareApp()">forRequestShareApp</a>(recipients:Array, reason:<a href="../base/Message.html">Message</a>):<a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a>
</div>
<div class="summaryTableDescription">
   Helper function for setting the parameters of the <code>Feature.FETCH_PERSON</code> feature.</div>
</td><td class="summaryTableOwnerCol">OpenSocialDataRequest</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#forUpdatePersonAppData()">forUpdatePersonAppData</a>(id:String, key:String, value:Object):<a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a>
</div>
<div class="summaryTableDescription">
   Helper function for setting the parameters of the <code>Feature.FETCH_PERSON</code> feature.</div>
</td><td class="summaryTableOwnerCol">OpenSocialDataRequest</td>
</tr>
<tr class="hideInheritedMethod">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="AsyncRequest.html#send()">send</a>(client:<a href="../core/OpenSocialClient.html">OpenSocialClient</a>):void</div>
<div class="summaryTableDescription">
   Sends out the request using client's async call api.</div>
</td><td class="summaryTableOwnerCol"><a href="AsyncRequest.html">AsyncRequest</a></td>
</tr>
<tr class="hideInheritedMethod">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="AsyncRequest.html#setParams()">setParams</a>(... params):<a href="../events/AsyncRequest.html">AsyncRequest</a>
</div>
<div class="summaryTableDescription">
   Sets the parameters of this request.</div>
</td><td class="summaryTableOwnerCol"><a href="AsyncRequest.html">AsyncRequest</a></td>
</tr>
</table>
</div>
<a name="protectedMethodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Protected Methods</div>
<table id="summaryTableProtectedMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#handleComplete()">handleComplete</a>(responseItem:*):void</div>
<div class="summaryTableDescription">
   The handler which wraps a response object into event, and dispatches it.</div>
</td><td class="summaryTableOwnerCol">OpenSocialDataRequest</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="constructorDetail"></a>
<div class="detailSectionHeader">Constructor detail</div>
<a name="OpenSocialDataRequest()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">OpenSocialDataRequest</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">constructor</td>
</tr>
</table>
<div class="detailBody">
<code>public function OpenSocialDataRequest(featureName:String)</code><p>
   Constructor of this request event dispatcher.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">featureName</span>:String</code> &mdash; The feature to be executed.
   </td>
</tr>
</table>
</div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">Method detail</div>
<a name="addCompleteHandler()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">addCompleteHandler</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
</tr>
</table>
<div class="detailBody">
<code>public override function addCompleteHandler(callback:Function):<a href="../events/AsyncRequest.html">AsyncRequest</a></code><p>
   The quick short-cut for adding a callback function for the request completion. It wraps the
   async request from event-driven style to a simple callback style.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">callback</span>:Function</code> &mdash; The callback function
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../events/AsyncRequest.html">AsyncRequest</a></code> &mdash; 
                        The request instance itself.
   
                        
                     </td>
</tr>
</table>
</div>
<a name="forFetchActivities()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">forFetchActivities</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function forFetchActivities(idSpec:<a href="../base/IdSpec.html">IdSpec</a>, params:Object = null):<a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a></code><p>
   Helper function for setting the parameters of the <code>Feature.FETCH_PERSON</code> feature.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">idSpec</span>:<a href="../base/IdSpec.html">IdSpec</a></code> &mdash; An <code>IdSpec</code> object.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">params</span>:Object</code> (default = <code>null</code>)<code></code> &mdash; A <code>Map.&lt;DataRequest.ActivityRequestFields, Object&gt;</code> object.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a></code> &mdash; 
                        The request instance itself.
      
                        
                     </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../core/OpenSocialHelper.html#fetchActivities" target="">org.opensocial.client.core.OpenSocialHelper.fetchActivities</a>
</div>
</div>
<a name="forFetchPeople()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">forFetchPeople</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function forFetchPeople(idSpec:<a href="../base/IdSpec.html">IdSpec</a>, params:Object = null):<a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a></code><p>
   Helper function for setting the parameters of the <code>Feature.FETCH_PERSON</code> feature.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">idSpec</span>:<a href="../base/IdSpec.html">IdSpec</a></code> &mdash; An <code>IdSpec</code> object.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">params</span>:Object</code> (default = <code>null</code>)<code></code> &mdash; A <code>Map.&lt;DataRequest.PeopleRequestField, Object&gt;</code> object.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a></code> &mdash; 
                        The request instance itself.
      
                        
                     </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../core/OpenSocialHelper.html#fetchPeople" target="">org.opensocial.client.core.OpenSocialHelper.fetchPeople</a>
</div>
</div>
<a name="forFetchPerson()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">forFetchPerson</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function forFetchPerson(id:String, params:Object = null):<a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a></code><p>
   Helper function for setting the parameters of the <code>Feature.FETCH_PERSON</code> feature.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">id</span>:String</code> &mdash; An <code>IdSpec.PersonId</code> value, can be <code>VIEWER</code> or
             <code>OWNER</code>.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">params</span>:Object</code> (default = <code>null</code>)<code></code> &mdash; A <code>Map.&lt;DataRequest.PeopleRequestField, Object&gt;</code> object.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a></code> &mdash; 
                        The request instance itself.
      
                        
                     </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../core/OpenSocialHelper.html#fetchPerson" target="">org.opensocial.client.core.OpenSocialHelper.fetchPerson</a>
</div>
</div>
<a name="forFetchPersonAppData()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">forFetchPersonAppData</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function forFetchPersonAppData(idSpec:<a href="../base/IdSpec.html">IdSpec</a>, keys:Array, params:Object = null):<a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a></code><p>
   Helper function for setting the parameters of the <code>Feature.FETCH_PERSON</code> feature.
   Sends request to fetch person app data.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">idSpec</span>:<a href="../base/IdSpec.html">IdSpec</a></code> &mdash; An <code>IdSpec</code> object.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">keys</span>:Array</code> &mdash; Array of key names, ' to represent all.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">params</span>:Object</code> (default = <code>null</code>)<code></code> &mdash; A <code>Map.&lt;DataRequest.DataRequestField, Object&gt;</code> object.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a></code> &mdash; 
                        The request instance itself.
      
                        
                     </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../core/OpenSocialHelper.html#fetchPersonAppData" target="">org.opensocial.client.core.OpenSocialHelper.fetchPersonAppData</a>
</div>
</div>
<a name="forMakeRequest()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">forMakeRequest</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function forMakeRequest(url:String, params:Object = null):<a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a></code><p>
   Helper function for setting the parameters of the <code>Feature.FETCH_PERSON</code> feature.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">url</span>:String</code> &mdash; The remote site url.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">params</span>:Object</code> (default = <code>null</code>)<code></code> &mdash; A <code>Map.&lt;GadgetsIo.RequestParameters, Object&gt;</code> object.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a></code> &mdash; 
                        The request instance itself.
      
                        
                     </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../core/OpenSocialHelper.html#makeRequest" target="">org.opensocial.client.core.OpenSocialHelper.makeRequest</a>
</div>
</div>
<a name="forRemovePersonAppData()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">forRemovePersonAppData</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function forRemovePersonAppData(id:String, keys:Array):<a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a></code><p>
   Helper function for setting the parameters of the <code>Feature.FETCH_PERSON</code> feature.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">id</span>:String</code> &mdash; A <code>IdSpec.PersonId</code> value, can only be <code>VIEWER</code>.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">keys</span>:Array</code> &mdash; Array of key names, ' to represent all.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a></code> &mdash; 
                        The request instance itself.
      
                        
                     </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../core/OpenSocialHelper.html#removePersonAppData" target="">org.opensocial.client.core.OpenSocialHelper.removePersonAppData</a>
</div>
</div>
<a name="forRequestCreateActivity()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">forRequestCreateActivity</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function forRequestCreateActivity(activity:<a href="../base/Activity.html">Activity</a>, priority:String = null):<a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a></code><p>
   Helper function for setting the parameters of the <code>Feature.FETCH_PERSON</code> feature.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">activity</span>:<a href="../base/Activity.html">Activity</a></code> &mdash; An <code>Activity</code> object.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">priority</span>:String</code> (default = <code>null</code>)<code></code> &mdash; A value of <code>Globals.CreateActivityPriority</code>.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a></code> &mdash; 
                        The request instance itself.
      
                        
                     </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../core/OpenSocialHelper.html#requestCreateActivity" target="">org.opensocial.client.core.OpenSocialHelper.requestCreateActivity</a>
</div>
</div>
<a name="forRequestPermission()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">forRequestPermission</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function forRequestPermission(permissions:Array, reasonText:String):<a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a></code><p>
   Helper function for setting the parameters of the <code>Feature.FETCH_PERSON</code> feature.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">permissions</span>:Array</code> &mdash; An array of <code>Globals.Permission</code> values.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">reasonText</span>:String</code> &mdash; A string of reason text.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a></code> &mdash; 
                        The request instance itself.
      
                        
                     </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../core/OpenSocialHelper.html#requestPermission" target="">org.opensocial.client.core.OpenSocialHelper.requestPermission</a>
</div>
</div>
<a name="forRequestSendMessage()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">forRequestSendMessage</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function forRequestSendMessage(recipients:Array, message:<a href="../base/Message.html">Message</a>):<a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a></code><p>
   Helper function for setting the parameters of the <code>Feature.FETCH_PERSON</code> feature.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">recipients</span>:Array</code> &mdash; An array of ids, such as OWNER, VIEWER, or person ids in reachable groups.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">message</span>:<a href="../base/Message.html">Message</a></code> &mdash; An <code>Message</code> object.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a></code> &mdash; 
                        The request instance itself.
      
                        
                     </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../core/OpenSocialHelper.html#requestSendMessage" target="">org.opensocial.client.core.OpenSocialHelper.requestSendMessage</a>
</div>
</div>
<a name="forRequestShareApp()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">forRequestShareApp</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function forRequestShareApp(recipients:Array, reason:<a href="../base/Message.html">Message</a>):<a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a></code><p>
   Helper function for setting the parameters of the <code>Feature.FETCH_PERSON</code> feature.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">recipients</span>:Array</code> &mdash; An array of ids, such as OWNER, VIEWER, or person ids in reachable groups.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">reason</span>:<a href="../base/Message.html">Message</a></code> &mdash; An <code>Message</code> object.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a></code> &mdash; 
                        The request instance itself.
      
                        
                     </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../core/OpenSocialHelper.html#requestShareApp" target="">org.opensocial.client.core.OpenSocialHelper.requestShareApp</a>
</div>
</div>
<a name="forUpdatePersonAppData()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">forUpdatePersonAppData</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function forUpdatePersonAppData(id:String, key:String, value:Object):<a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a></code><p>
   Helper function for setting the parameters of the <code>Feature.FETCH_PERSON</code> feature.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">id</span>:String</code> &mdash; A <code>IdSpec.PersonId</code> value, can only be <code>VIEWER</code>.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">key</span>:String</code> &mdash; One key name of the data.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">value</span>:Object</code> &mdash; The value to be store, must be a json format.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../events/OpenSocialDataRequest.html">OpenSocialDataRequest</a></code> &mdash; 
                        The request instance itself.
      
                        
                     </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../core/OpenSocialHelper.html#updatePersonAppData" target="">org.opensocial.client.core.OpenSocialHelper.updatePersonAppData</a>
</div>
</div>
<a name="handleComplete()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">handleComplete</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected override function handleComplete(responseItem:*):void</code><p>
   The handler which wraps a response object into event, and dispatches it.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">responseItem</span>:*</code> &mdash; The response object, should be in <code>ResponseItem</code> type.
   </td>
</tr>
</table>
</div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright">2009 OpenSocial</center>
</div>
</body>
</html>
<!--2009 OpenSocial-->
